Performing a refresh operation based on system characteristics

ABSTRACT

A method for performing a refresh operation based on system characteristics is provided. A The method includes determining that a current operation condition of a memory component is in a first state and detecting a change in the operation condition from the first state to a second state. The method further includes determining a range of the operation condition to which the second state belongs. The method further includes determining a refresh period associated with the range of the operation condition, the refresh period corresponding to a period of time between a first time when a write operation is performed on a segment of the memory component and a second time when a refresh operation is to be performed on the segment. The method further includes performing the refresh operation on the memory component according to the refresh period.

RELATED APPLICATION

This application is a continuation of U.S. patent application Ser. No.16/554,026, filed Aug. 28, 2019, which is herein incorporated byreference in its entirety.

TECHNICAL FIELD

Embodiments of the disclosure relate generally to memory sub-systems,and more specifically, relate to performing a refresh operation based onsystem characteristics.

BACKGROUND

A memory sub-system can include one or more memory components that storedata. The memory components can be, for example, non-volatile memorycomponents and volatile memory components. In general, a host system canutilize a memory sub-system to store data at the memory components andto retrieve data from the memory components.

BRIEF DESCRIPTION OF THE DRAWINGS

The disclosure will be understood more fully from the detaileddescription given below and from the accompanying drawings of variousembodiments of the disclosure. The drawings, however, should not betaken to limit the disclosure to the specific embodiments, but are forexplanation and understanding only.

FIG. 1 illustrates an example computing environment that includes amemory sub-system in accordance with some embodiments of the presentdisclosure.

FIG. 2 is a flow diagram of an example method to perform a refreshoperation in accordance with some embodiments of the present disclosure.

FIG. 3A is a graph illustrating a power level as a function of a writeto read time difference for two different temperatures in accordancewith some embodiments of the present disclosure.

FIG. 3B is a graph illustrating a power level as a function of a writeto read time difference in accordance with some embodiments of thepresent disclosure.

FIG. 4 is a flow diagram of an example method to perform a refreshoperation in accordance with some other embodiments of the presentdisclosure.

FIG. 5 is a graph illustrating a power level as a function of a write toread time difference for three different memory components in accordancewith some embodiments of the present disclosure.

FIG. 6 is a block diagram of an example computer system in whichembodiments of the present disclosure may operate.

DETAILED DESCRIPTION

Aspects of the present disclosure are directed to performing a refreshoperation based on system characteristics. A memory sub-system can be astorage device, a memory module, or a hybrid of a storage device andmemory module. Examples of storage devices and memory modules aredescribed below in conjunction with FIG. 1. In general, a host systemcan utilize a memory sub-system that includes one or more memorycomponents, such memory devices that store data. The host system canprovide data to be stored at the memory sub-system and can request datato be retrieved from the memory sub-system.

The memory components can include non-volatile memory devices that storedata from the host system. A non-volatile memory device is a package ofone or more dice. The dice in the packages can be assigned to one ormore channels for communicating with a memory sub-system controller. Thenon-volatile memory devices include cells (i.e., electronic circuitsthat store information), that are grouped into pages to store bits ofdata. The non-volatile memory devices can include three-dimensionalcross-point (“3D cross-point”) memory devices that are a cross-pointarray of non-volatile memory that can perform bit storage based on achange of bulk resistance, in conjunction with a stackable cross-griddeddata access array. Another example of a non-volatile memory device is anegative-and (NAND) memory device. Other examples of non-volatile memorydevices are described below in conjunction with FIG. 1.

Certain types of memory components are prone to surge in demand of powersupply for a read operation on a memory cell(s) of the respective memorycomponents. The surge becomes greater as a time gap between when a writeoperation is performed and when a read operation is subsequentlyperformed on the same memory cell(s) becomes bigger. The larger the timegap is, the more expensive (power-wise) it is for the memory sub-systemto perform the read operation on certain types of memory components.

A conventional memory sub-system periodically performs a refreshoperation at a fixed time period. A refresh operation involves a seriesof operations for reading data stored at a memory cell(s) (or a segment)of a memory component and re-writing the data back to the same memorycell(s). Because the data is read for the refresh operation on aperiodic basis at a fixed time period, the conventional memorysub-system can prevent the time gap between the write and read operationfrom getting any greater than the fixed time period. However, a rate atwhich the demand of power supply for a read operation increases dependson various system characteristics of the memory sub-system. Therefore,such a rigid approach may not accommodate varying demand of power supplyfor certain types of memory components. If the demand of power supply isnot accommodated properly, the conventional memory sub-system may not beable to perform a read operation due to shortage of power available tocarry out the operation.

Aspects of the present disclosure address the above and otherdeficiencies by having a memory sub-system that dynamically adjusts afrequency of a refresh operation based on system characteristics of thememory sub-system such as a temperature of an operating environment, alevel of power being supplied to the memory sub-system, and powerconsumption characteristics of memory components. Depending on thesystem characteristics, the memory sub-system can adjust a time periodfor scheduling a refresh operation in order to prevent the memorysub-system from failing to perform a read operation because the readoperation requires more power than what is available to the memorysub-system.

Advantages of the present disclosure include, but are not limited to,efficiently managing a limited supply of power to a memory sub-system.For example, as a memory sub-system dynamically adjusts a time periodfor performing a refresh operation, the memory sub-system canaccommodate the varying demand of power supply to perform a readoperation. Accordingly, the memory sub-system can ensure that an amountof power for a read operation required by certain memory components doesnot exceed an amount of power available.

FIG. 1 illustrates an example computing environment 100 that includes amemory sub-system 110 in accordance with some embodiments of the presentdisclosure. The memory sub-system 110 can include media, such as one ormore volatile memory devices (e.g., memory device 140), one or morenon-volatile memory devices (e.g., memory device 130), or a combinationof such.

A memory sub-system 110 can be a storage device, a memory module, or ahybrid of a storage device and memory module. Examples of a storagedevice include a solid-state drive (SSD), a flash drive, a universalserial bus (USB) flash drive, an embedded Multi-Media Controller (eMMC)drive, a Universal Flash Storage (UFS) drive, and a hard disk drive(HDD). Examples of memory modules include a dual in-line memory module(DIMM), a small outline DIMM (SO-DIMM), and a non-volatile dual in-linememory module (NVDIMM).

The computing environment 100 can include a host system 120 that iscoupled to one or more memory sub-systems 110. In some embodiments, thehost system 120 is coupled to different types of memory sub-system 110.FIG. 1 illustrates one example of a host system 120 coupled to onememory sub-system 110. The host system 120 uses the memory sub-system110, for example, to write data to the memory sub-system 110 and readdata from the memory sub-system 110. As used herein, “coupled to”generally refers to a connection between components, which can be anindirect communicative connection or direct communicative connection(e.g., without intervening components), whether wired or wireless,including connections such as electrical, optical, magnetic, etc.

The host system 120 can be a computing device such as a desktopcomputer, laptop computer, network server, mobile device, a vehicle(e.g., airplane, drone, train, automobile, or other conveyance),Internet of Things (IoT) devices, or such computing device that includesa memory and a processing device. The host system 120 can be coupled tothe memory sub-system 110 via a physical host interface. Examples of aphysical host interface include, but are not limited to, a serialadvanced technology attachment (SATA) interface, a peripheral componentinterconnect express (PCIe) interface, universal serial bus (USB)interface, Fibre Channel, Serial Attached SCSI (SAS), etc. The physicalhost interface can be used to transmit data between the host system 120and the memory sub-system 110. The host system 120 can further utilizean NVM Express (NVMe) interface to access the memory components, such asmemory devices 130, when the memory sub-system 110 is coupled with thehost system 120 by the PCIe interface. The physical host interface canprovide an interface for passing control, address, data, and othersignals between the memory sub-system 110 and the host system 120.

The memory devices can include any combination of the different types ofnon-volatile memory devices and/or volatile memory devices. The volatilememory devices (e.g., memory device 140) can be, but are not limited to,random access memory (RAM), such as dynamic random access memory (DRAM)and synchronous dynamic random access memory (SDRAM).

Some examples of non-volatile memory devices (e.g., memory device 130)include negative-and (NAND) type flash memory and write-in-place memory,such as three-dimensional cross-point (“3D cross-point”) memory. Across-point array of non-volatile memory can perform bit storage basedon a change of bulk resistance, in conjunction with a stackablecross-gridded data access array. Additionally, in contrast to manyflash-based memories, cross-point non-volatile memory can perform awrite in-place operation, where a non-volatile memory cell can beprogrammed without the non-volatile memory cell being previously erased.

Although non-volatile memory devices such as 3D cross-point type andNAND type memory are described, the memory device 130 can be based onany other type of non-volatile memory, such as read-only memory (ROM),phase change memory (PCM), self-selecting memory, other chalcogenidebased memories, ferroelectric random access memory (FeRAM), magnetorandom access memory (MRAM), negative-or (NOR) flash memory, andelectrically erasable programmable read-only memory (EEPROM).

One type of memory cell, for example, single level cells (SLC) can storeone bit per cell. Other types of memory cells, such as multi-level cells(MLCs), triple level cells (TLCs), and quad-level cells (QLCs), canstore multiple bits per cell. In some embodiments, each of the memorydevices 130 can include one or more arrays of memory cells such as SLCs,MLCs, TLCs, QLCs, or any combination of such. In some embodiments, aparticular memory device can include an SLC portion, and an MLC portion,a TLC portion, or a QLC portion of memory cells. The memory cells of thememory devices 130 can be grouped as pages or codewords that can referto a logical unit of the memory device used to store data. With sometypes of memory (e.g., NAND), pages can be grouped to form blocks. Sometypes of memory, such as 3D cross-point, can group pages across dice andchannels to form management units (MUs).

The memory sub-system controller 115 can communicate with the memorydevices 130 to perform operations such as reading data, writing data, orerasing data at the memory devices 130 and other such operations. Thememory sub-system controller 115 can include hardware such as one ormore integrated circuits and/or discrete components, a buffer memory, ora combination thereof. The hardware can include a digital circuitry withdedicated (i.e., hard-coded) logic to perform the operations describedherein. The memory sub-system controller 115 can be a microcontroller,special purpose logic circuitry (e.g., a field programmable gate array(FPGA), an application specific integrated circuit (ASIC), etc.), orother suitable processor.

The memory sub-system controller 115 can include a processor (processingdevice) 117 configured to execute instructions stored in local memory119. In the illustrated example, the local memory 119 of the memorysub-system controller 115 includes an embedded memory configured tostore instructions for performing various processes, operations, logicflows, and routines that control operation of the memory sub-system 110,including handling communications between the memory sub-system 110 andthe host system 120.

In some embodiments, the local memory 119 can include memory registersstoring memory pointers, fetched data, etc. The local memory 119 canalso include read-only memory (ROM) for storing micro-code. While theexample memory sub-system 110 in FIG. 1 has been illustrated asincluding the memory sub-system controller 115, in another embodiment ofthe present disclosure, a memory sub-system 110 may not include a memorysub-system controller 115, and may instead rely upon external control(e.g., provided by an external host, or by a processor or controllerseparate from the memory sub-system).

In general, the memory sub-system controller 115 can receive commands oroperations from the host system 120 and can convert the commands oroperations into instructions or appropriate commands to achieve thedesired access to the memory devices 130. The memory sub-systemcontroller 115 can be responsible for other operations such as wearleveling operations, garbage collection operations, error detection anderror-correcting code (ECC) operations, encryption operations, cachingoperations, and address translations between a logical address (e.g.,logical block address (LBA), namespace) and a physical address (e.g.,physical MU address, physical block address) that are associated withthe memory devices 130. The memory sub-system controller 115 can furtherinclude host interface circuitry to communicate with the host system 120via the physical host interface. The host interface circuitry canconvert the commands received from the host system into commandinstructions to access the memory devices 130 as well as convertresponses associated with the memory devices 130 into information forthe host system 120.

The memory sub-system 110 can also include additional circuitry orcomponents that are not illustrated. In some embodiments, the memorysub-system 110 can include a cache or buffer (e.g., DRAM) and addresscircuitry (e.g., a row decoder and a column decoder) that can receive anaddress from the memory sub-system controller 115 and decode the addressto access the memory devices 130.

In some embodiments, the memory devices 130 include local mediacontrollers 135 that operate in conjunction with memory sub-systemcontroller 115 to execute operations on one or more memory cells of thememory devices 130. An external controller (e.g., memory sub-systemcontroller 115) can externally manage the memory device 130 (e.g.,perform media management operations on the memory device 130). In someembodiments, a memory device 130 is a managed memory device, which is araw memory device combined with a local controller (e.g., localcontroller 135) for media management within the same memory devicepackage. An example of a managed memory device is a managed NAND (MNAND)device.

The memory sub-system 110 includes a refresh operation component 113that can dynamically adjust a period at which a refresh operation is tobe performed for each memory component (e.g., memory devices 130 or140), based on various system characteristics, such as a temperature ofan operating environment, a level of power being supplied to the memorysub-system 110, power consumption characteristics of memory components(e.g., memory devices 130 and 140), or other characteristics. A refreshoperation herein refers to a sequence of operations involving first, aselection operation for selecting a target segment of a memorycomponent, a read operation for reading data stored at the selectedtarget segment, and a re-write operation to write or store the read databack to the target segment of the memory component. In some embodiments,the refresh operation may involve just the read operation and there-write operation. In some embodiments, the memory sub-systemcontroller 115 includes at least a portion of the refresh operationcomponent 113. For example, the memory sub-system controller 115 caninclude a processor 117 (processing device) configured to executeinstructions stored in local memory 119 for performing the operationsdescribed herein. In some embodiments, the refresh operation component113 is part of the host system 110, an application, or an operatingsystem.

The refresh operation component 113 adjusts how often a refreshoperation should be performed for each memory component (e.g. a memorydevice 130 or 140) based on system characteristics. In oneimplementation, the refresh operation component 113 determines a currentoperation condition (e.g., a temperature of a memory device 130 or 140,an amount of power being supplied to the memory sub-system 110). Therefresh operation component 113 also detects a change in the operationcondition and sets a refresh period associated with the memory componentbased on the change of the operating condition. A refresh period usedherein refers to a period of time between a time when a write operationis performed on a segment of the memory component and another time(i.e., a later time) when a refresh operation is to be performed on thesegment. Then, the refresh operation component 113 can perform therefresh operation according to the refresh period.

In another implementation, the refresh operation component 113 canreceive a command for a write operation to store data on a segment of amemory component. The refresh operation component 113 can identify thememory component associated with the write operation from a plurality ofmemory components. Then, the refresh operation component 113 candetermine a refresh period corresponding to the identified memorycomponent from a plurality of refresh periods, where each one of theplurality of refresh periods corresponds to a different one or more ofthe plurality of memory components. In response to determining that acommand for a read operation to be performed on the segment of thememory component is not received within the refresh period, the refreshoperation component 113 can perform the refresh operation on the segmentof the memory component. Further details with regards to the operationsof the refresh operation component 113 are described below.

FIG. 2 is a flow diagram of an example method 200 to perform a refreshoperation in accordance with some embodiments of the present disclosure.The method 200 can be performed by processing logic that can includehardware (e.g., processing device, circuitry, dedicated logic,programmable logic, microcode, hardware of a device, integrated circuit,etc.), software (e.g., instructions run or executed on a processingdevice), or a combination thereof. In some embodiments, the method 200is performed by the refresh operation component 113 of FIG. 1. Althoughshown in a particular sequence or order, unless otherwise specified, theorder of the processes can be modified. Thus, the illustratedembodiments should be understood only as examples, and the illustratedprocesses can be performed in a different order, and some processes canbe performed in parallel. Additionally, one or more processes can beomitted in various embodiments. Thus, not all processes are required inevery embodiment. Other process flows are possible.

At operation 210, the processing device determines that a currentoperating condition of the memory component is in a first state. In someembodiments, an operation condition of the memory component can includean amount of power supplied to a memory sub-system (e.g., the memorysub-system 110 of FIG. 1) and/or a temperature of the memory component.For example, the processing device can measure a current level (in mW)of the power supplied to the memory sub-system. The processing devicecan determine the current level of the power to be the first state ofthe current operating condition of the memory component. In anotherexample, the processing device can determine the current temperature ofthe memory component. Additionally or alternatively, the processingdevice can determine the temperature of the memory sub-system or a hostsystem (e.g., the host system 120 of FIG. 1) connected to the memorysub-system. Then, the processing device can determine the temperature asthe first state of the current operation condition of the memorycomponent. For example, the processing device can determine that thecurrent power supply level to be 1780 mW and/or the current temperatureto be 55 F.

At operation 220, the processing device detects a change in theoperating condition from the first state determined at the operation 210to another state (e.g., a second state). In one implementation, theprocessing device determines a range of the operation condition to whichthe first state determined at the operation 210 belongs. For example,the range of the operation condition can correspond to a range of powersupply levels (e.g., one or more power supply range) and/or a range oftemperatures (e.g., one or more temperature range). There can bemultiple ranges of the operation condition. As an example, ranges ofpower supply levels can be 1700 mW (inclusive) to 1750 mW (exclusive),1750 mW to 1800 mW, 1800 mW to 1850 mW. As another example, the range oftemperatures can be 50 F (inclusive) to 60 F (exclusive), 60 F to 70 F,70 F to 80 F. For example, for the current power supply level (e.g.,1780 mW), the processing device can determine that the current statebelongs to the range from 1750 mW to 1800 mW.

As another example, for the current temperature (e.g., 55 F), theprocessing device can determine that the current state belongs to therange from 50 F to 60 F. In one implementation, a range can be at onelevel, such as 1700 mW. In another implementation, the ranges can be atdifferent increments, such as 1700 mW to 1750 mW (i.e., 50 mW increment)and 1800 mW to 1900 mW (i.e., 100 mW increment). Yet, in anotherimplementation, the ranges can be discontinuous. For example, there canbe two ranges one from 1700 mW to 1750 mW and 1800 mW to 1850 mW.Further, in another implementation, the ranges can specify a combinationof two operation conditions such as for each range of temperatures, 50 Fto 60 F, 60 F to 70 F, 70 F to 80 F, there can be different ranges ofpower supply levels such as 1700 mW to 1749 mW, 1750 mW to 1799 mW, 1800mW to 1849 mW.

The processing device can determine the state of the current operationcondition on a periodic basis, such as every ten minutes, every hour,etc. Accordingly, the processing device can determine another state ofthe operation condition. Therefore, once the processing device hasdetermined the range for the state of operation condition from theoperation 210, the processing device can determine whether the statemeasured after, for example ten minutes, belongs to the same range ofthe operation condition. For example, the processing device could havedetermined a power supply level to be 1785 mW ten minutes afterdetermining that the power supply level as 1780 mW. Given the range from1750 mW to 1800 mW, the processing device can determine that the mostrecent state belongs to the same range. On the other hand, theprocessing device could have determined the power supply level to be1730 mW after ten minutes of measuring the power supply level of 1780mW, in such an instance, the processing device can determine that themost recent state does not belong to the same range.

In another example, the processing device could have determined atemperature to be 58 F as opposed to 50 F the temperature measured anhour ago. In such a case, the processing device can determine that themost recent state belongs to the same range (e.g., 50 F to 60 F) as theother state (i.e., 50 F) of the operation condition. Yet in anotherexample, the processing device could have determined a temperature to be75 F as opposed to 50 F, the temperature measured an hour ago. In such acase, the processing device can determine that the most recent statedoes not belong to the same range (e.g., 50 F to 60 F).

In response to determining that the latest state of the operationcondition does not belong to the previously determined range of theoperation condition, the processing device can determine that the changein the operation condition is detected. For example, a change in theoperation condition from one state to another state can correspond to anincrease in a temperature of the memory component or a decrease in thetemperature of the memory component. Such change can be detected when atemperature in an operating environment (e.g., a server room) of thememory sub-system fluctuates. In another example, a change in theoperation condition can correspond to an increase in an amount of powersupply to the memory sub-system or a decrease in the amount of powersupply to the memory sub-system. Usually, the memory sub-system issupplied with a constant amount of power (i.e., a power budget of thememory sub-system). However, sometimes, a sudden drop in an amount ofpower can happen (such phenomenon is called a power droop).

At operation 230, the processing device sets a refresh period associatedwith the memory component based on the change of the operatingcondition. In one implementation, a refresh period corresponds to aperiod of time between a time when a write operation is performed on asegment of the memory component and a time when a refresh operation isto be performed on the segment. That is, the refresh period can refer toan amount of time passed since a write operation was performed on asegment of the memory component until a refresh operation is performedon the same segment of the memory component. A refresh operation hereinrefers to a sequence of operations involving first, a selectionoperation for selecting a target segment of a memory component, a readoperation for reading data stored at the selected target segment, and are-write operation to write or store the read data back to the targetsegment of the memory component. In some embodiments, the refreshoperation may involve just the read operation and the re-writeoperation, without the selection operation. In some embodiments, eachmemory component is associated with a refresh period. A default valuecan be initially assigned to refresh periods. The refresh periods can beset to the same value or different values in a unit of time, such as 3hours.

To set the refresh period associated with the memory component, theprocessing device determines a range of the operation condition to whichthe later state belongs (e.g., a temperature and/or power supply levelmeasured at a later time). The processing device can determine the rangefor the later state of operation condition in a similar manner asdescribed above with respect to operation 220. For example, theprocessing device could have initially determined the power supply levelto be 1780 mW (which belongs to the range of 1750 mW to 1800 mW), butafter ten minutes, the power supply level could have been changed to1730 mW. Then, the processing device can determine that the new range ofoperation condition is 1700 mW to 1750 mW.

In one implementation, each range can have a corresponding refreshperiod. Once the range is determined, the processing device candetermine a refresh period associated with the determined range of theoperation condition. Details about determining a refresh period for eachrange will be described below with respect to FIGS. 3A and 3B. In oneimplementation, a refresh period for each range can be pre-determinedand stored at a memory of a memory sub-system controller or a memory ofa local media controller. Accordingly, the processing device candetermine the refresh period by accessing such a memory. Then, theprocessing device can change the refresh period associated with thememory component to correspond to the refresh period associated with therange for the later state of operation condition. For example, when apower supply level changed from 1780 mW (which belongs to a range of1750 mW to 1800 mW having a refresh period of 10 hours assigned to therange) to 1850 mW (which belongs to a range of 1850 mW to 1900 mW havinga refresh period of 13 hours assigned to the range), the processingdevice can change the refresh period from 10 hours to 13 hours. Inanother implementation, the processing device can change a refreshperiod at its default value to a refresh period corresponding to therange for the later state of operation condition.

In instances where the change in the operation condition from one stateto another state involves an increase in a temperature of the memorycomponent, the processing device can set the refresh period to be at ashorter period of time (i.e., the processing device can decrease therefresh period based on the increased temperature). On the other hand,when the change in the operation condition from one state to anotherstate corresponds to a decrease in the temperature of the memorycomponent, the processing device can set the refresh period to be at alonger period of time (i.e., the processing device can increase therefresh period based on the decreased temperature). Such inverserelationship between the change in the temperature and the refreshperiod is illustrated in FIG. 3A.

As another example, the change in the operation condition can involve anincrease in an amount of power supply to the memory sub-system. In sucha case, the processing device can set the refresh period to be at alonger period of time (i.e., the processing device can increase therefresh period based on the increased amount of power supply). On theother hand, sometimes, a sudden drop in an amount of power beingsupplied can happen (such phenomenon is called a power droop). However,in case of the power droop, the processing device can adjust a refreshperiod accordingly, in order to accommodate less amount of poweravailable to perform operations in the memory sub-system. Thus, when theamount of power supply is decreased, the processing device can set therefresh period to be at a shorter period of time (i.e., the processingdevice can decrease the refresh period based on the decreased amount ofpower supply). Such direct relationship between the change in the amountof power supply and the refresh period is illustrated in FIG. 3B.

At operation 240, the processing device performs the refresh operationaccording to the refresh period. In one implementation, when theprocessing device performs a write operation on a segment of the memorycomponent, the processing device can start a counter for the segment. Inresponse to determining that a count value of the counter becomes thesame value as the period of time (e.g., 10 hours) defined by the refreshperiod, the processing device can perform the refresh operation. Thatis, when the counter indicates that 10 hours have passed since the lastwrite operation was performed on the segment, the processing device canselect the segment of the memory component, read data written to thesegment, and re-write the data back to the segment. The processingdevice can maintain a counter for each segment of the memory componentwhenever a write operation is performed. In another implementation, theprocessing device can obtain a timestamp when a write operation isperformed to a segment and calculate an amount of time passed since thewrite operation on a periodic basis. Based on the calculated amount oftime, the processing device can initiate the refresh operation.

FIG. 3A is a graph 300 illustrating a power level as a function of awrite to read time difference for two different temperatures inaccordance with some embodiments of the present disclosure. The refreshoperation component 113 of FIG. 1 can determine an appropriate refreshperiod for a memory component having different ranges of temperatures.

As illustrated in FIG. 3A, the graph 300 has two axes—a power level axis303 and a write to read time difference axis 305. The power level axis303 represents a level or an amount of power required by a memorycomponent (e.g., the memory component 130 or 140 of FIG. 1) or a memorysub-system (e.g., the memory sub-system 110 of FIG. 1) for a readoperation on a segment of the memory component. The power level isexpressed in units of mW. The write to read time difference axis 305represents an amount of time elapsed since a write operation wasperformed on a segment of a memory component until a read operation wasperformed subsequently. The time is expressed in terms of logarithms.

A curve 310 represents a relationship between the power level and thewrite to read time difference for the memory component or the memorysub-system in a high temperature environment, such as 80 F. In someembodiments, the high temperature environment can be defined by a rangeof temperatures, such as 70 F to 80 F. As depicted, the curve 310illustrates an exponential relationship between the power level requiredfor a read operation and an amount of time between performance of awrite and read operation. Accordingly, the longer the time differencebetween performance of a write and read operation is, the higher levelof power is required to perform the read operation.

A curve 320 represents a relationship between the power level and thewrite to read time difference for the memory component or the memorysub-system in a low temperature environment, such as 60 F. The lowtemperature environment can correspond to a range of temperatures, suchas 50 F to 60 F. Similar to the curve 310, the curve 320 represents theexponential relationship. A horizontal line 330 represents a powerbudget for the memory component or the memory sub-system. In oneimplementation, the power budget refers to an amount of power suppliedto the memory component or the memory sub-system.

A processing device, such as the refresh operation component 113 of FIG.1, can determine a refresh period for a memory component based on therelationship represented by the curves 310 and 320. For example, theprocessing device can determine a time at point 341 (e.g., 24 hours)where the curve 310 meets the power budget line 330. The time point 341can represent the maximum value for a refresh period corresponding tothe high temperature environment (because if a refresh period isperformed within any time after the time at the time point 341, therewould be not enough power to perform the refresh operation). In oneimplementation, the processing device can assign a time corresponding tothe time point 341 as the refresh period for the high temperatureenvironment. That is, the processing device can initiate a refreshoperation or shortly before 24 hours have passed since the last writeoperation on a respective segment of the memory component. In this way,the processing device can avoid running out of power.

In another implementation, the processing device can determine a timepoint (e.g., time point 343) within a threshold amount 342 of the timepoint 341. Such a threshold amount can be a relative value, such as 10%,or an absolute value, such as, 2 hours. For example, the time point 341can be 24 hours and the threshold amount 342 can be 2 hours. Then, theprocessing device can determine another time point 343 (e.g., 22 hours)based on the maximum time a refresh operation should be performed (asrepresented by the time point 341) and the threshold amount 342. Theprocessing device can assign a refresh period of 22 hours to the hightemperature environment.

Similarly, the processing device can determine a refresh period for thelow temperature environment. For example, the processing device candetermine that a time period represented by a time point 345 (e.g., 40hours) as the refresh period. In another implementation, the processingdevice can determine a time period less than the maximum time periodrepresented by the time point 345 using the same threshold 342. Asillustrated by the curves 310 and 320, as the temperature of anoperation environment becomes lower, the processing device sets therefresh time period to be at a shorter amount of time. Therefore, basedon the different refresh periods for different ranges of temperatures,the processing device can determine appropriate refresh period for achanged operation condition, for example, at operation 230 of FIG. 2.Accordingly, the processing device can adjust a refresh period in orderto accommodate changes in temperature of an operating environment (e.g.,a temperature change in a server room where the memory sub-systemresides).

FIG. 3B is a graph 350 illustrating a power level as a function of awrite to read time difference in accordance with some embodiments of thepresent disclosure. The refresh operation component 113 of FIG. 1 candetermine an appropriate refresh period for a memory component underdifferent power supply conditions.

Same as the graph 300 in FIG. 3A, the graph 350 has two axes—a powerlevel axis 353 and a write to read time difference axis 355. A curve 360represents a relationship between the power level and the write to readtime difference for a memory component or a memory sub-system. Ahorizontal line 370 represents a power budget (e.g., 800 mW) for amemory component or a memory sub-system. As described above, the powerbudget refers to an amount of power supplied to the memory component orthe memory sub-system. In another example, the line 370 can represent arange of power levels such as 750 mW to 800 mW. Usually, a constantlevel of power (i.e., a power budget) is supplied to the memorycomponent or the memory sub-system. However, under certaincircumstances, a power droop can happen (i.e., a sudden drop in anamount of power being supplied). For example, the power supply level candrop from 800 mW to 600 mW as represented by a horizontal line 375.

A processing device, such as the refresh operation component 113 of FIG.1, can determine a refresh period for a memory component based on thepower level represented by the line 370. For example, the processingdevice can determine a time at point 381 (e.g., 44 hours) where thecurve 360 meets the power budget line 370. The time point 381 canrepresent the maximum value for a refresh period given the power budget.In one implementation, the processing device can assign a timecorresponding to the time point 381 as the refresh period for the amountof power supplied as represented by the line 370. Accordingly, theprocessing device can initiate a refresh operation at or shortly before44 hours have passed since the last write operation on a respectivesegment of the memory component.

In another implementation, the processing device can use a thresholdvalue 382 similar to the threshold value of 342 to determine anotherrefresh time at time point 383. Similarly, the processing device candetermine a refresh period for a lower power level (e.g., 600 mW)represented by the line 375. For example, the processing device candetermine a time period represented by a time point 385 (e.g., 41 hours)as the refresh period for the reduced power level. Therefore, based onthe different refresh periods for different levels of power supply, theprocessing device can determine appropriate refresh period for a changedoperation condition (e.g., a power droop), for example, at operation 230of FIG. 2. Accordingly, the processing device can adjust a refreshperiod in order to accommodate the less amount of power available.

FIG. 4 is a flow diagram of an example method 400 to perform a refreshoperation in accordance with some other embodiments of the presentdisclosure. The method 400 can be performed by processing logic that caninclude hardware (e.g., processing device, circuitry, dedicated logic,programmable logic, microcode, hardware of a device, integrated circuit,etc.), software (e.g., instructions run or executed on a processingdevice), or a combination thereof. In some embodiments, the method 400is performed by the refresh operation component 113 of FIG. 1. Althoughshown in a particular sequence or order, unless otherwise specified, theorder of the processes can be modified. Thus, the illustratedembodiments should be understood only as examples, and the illustratedprocesses can be performed in a different order, and some processes canbe performed in parallel. Additionally, one or more processes can beomitted in various embodiments. Thus, not all processes are required inevery embodiment. Other process flows are possible.

At operation 410, the processing device receives a command for a writeoperation to store data on a segment of a memory component of aplurality of memory components. The processing device can receive thecommand from a local media controller (e.g., the local media controller135), a memory sub-system controller (e.g., the memory sub-systemcontroller 115), or a host system (e.g., the host system 120). Thecommand can specify a memory component and a segment within the memorycomponent for the write operation. In further implementation, theprocessing device can perform a write operation in accordance with thereceived command.

At operation 420, the processing device identifies the memory componentassociated with the write operation from the plurality of memorycomponents. In one implementation, the processing device can determinethe memory component from the command received at operation 410. Inanother implementation, the processing device can receive the memorycomponent associated with the write operation of the command, from thelocal media controller (e.g., the local media controller 135), thememory sub-system controller (e.g., the memory sub-system controller115), or the host system (e.g., the host system 120).

At operation 430, the processing device determines a refresh periodcorresponding to the identified memory component from a plurality ofrefresh periods. As described above, a refresh period, corresponds to aperiod of time between a time when the write operation is performed on asegment of the memory component and a time when a refresh operation isto be performed on the same segment of the memory component. In oneimplementation, each refresh period from the plurality of refreshperiods corresponds to a different one or more memory components.Moreover, the refresh periods can be different from each other.

To determine the refresh period corresponding to the identified memorycomponent, the processing device determines a group from a plurality ofgroups to which the identified memory component belongs. In identifyingthe memory component, the processing device can reference a tablelisting an identifier for memory component(s) for each group. A groupcan also be indicated by an identifier in the table. Such a table can bestored at a memory of a memory sub-system controller or a memory of alocal media controller and accessed by the processing device. Each groupin the plurality of groups includes a different one or more of theplurality of memory components. That is, each group is comprised ofdifferent memory component(s). Also, each group of memory componentscorresponds to each one of the plurality of refresh periods.Accordingly, for each group, there is one corresponding refresh period.Details about how a refresh period for each group is determined will bedescribed with respect to FIG. 5. In one implementation, a refreshperiod for each group can be pre-determined and stored at the memory ofa memory sub-system controller or the local media controller.Accordingly, the processing device can determine the refresh period byaccessing such a memory.

The plurality of memory components can be divided into groups based onan amount of power required (i.e., power consumption characteristic of amemory component) for a read operation to be performed on a segment ofthe respective memory components. Thus, each group is associated withdifferent ranges of an amount of power required for a read operation.Accordingly, memory components in the same group would require an amountof power within the same range (e.g., 700 mW-800 mW) for a readoperation be performed on a segment of a respective memory componentwithin a given time period (i.e., the same amount of time). In oneimplementation, the given time can correspond to an amount of time, suchas 40 hours, after a write operation was performed on the respectivesegment.

For example, there may be three groups each associated with a range of500 mW-600 mW (i.e., equal to or more than 500 mW and less than 600 mW),600 mW-700 mW, and 700 mW-800 mW having 40 hours, 42 hours, and 44 hoursof corresponding refresh periods, respectively. As such, a groupassociated with a higher range (e.g., a range of 700 mW-800 mW comparedto a range of 500 mW-600 mW) of the amount of power required for theread operation corresponds to a refresh period having a shorter periodof time (e.g., 40 hours compared to 44 hours). That is, the groupassociated with the range of 700 mW-800 mW is assigned a refresh periodof 40 hours. In contrast, a group associated with a lower range (e.g.,500 mW-600 mW) has a corresponding refresh period (e.g., 44 hours) of alonger period of time. Further details regarding the groups of memorycomponents and corresponding refresh periods will be described withrespect to FIG. 5 below. Once the processing device determines a groupassociated with the identified memory component for the write operation,the processing device can determine a refresh period corresponding tothe group. In determining a refresh period corresponding to a group, theprocessing device can reference a table listing a refresh period foreach group.

At operation 440, the processing device, responsive to determining thata command for a read operation to be performed on the segment of thememory component is not received within the refresh period, performs therefresh operation on the segment of the memory component. As describedabove, the processing device can use a counter or a timestamp to checkwhether the read operation command is received (or whether the readoperation is performed) within the refresh period.

In further embodiments, the processing device can adjust the refreshperiod determined at operation 430, based on at least one of an amountof power supplied to the memory sub-system or a temperature of thememory component as described above with respect to FIG. 4. That is, foreach group of memory components, the refresh period can be changed basedon a newly determined temperature and/or level of power supply.

FIG. 5 is a graph 500 illustrating a power level as a function of awrite to read time difference for three different memory components inaccordance with some embodiments of the present disclosure. The refreshoperation component 113 of FIG. 1 can determine an appropriate refreshperiod for a memory component belonging to different groups.

As illustrated in FIG. 5, the graph 500 has two axes—a power level axis503 and a write to read time difference axis 505. Similar to the powerlevel axis 303, the power level axis 503 represents a level or an amountof power required by a memory component (e.g., the memory component 130or 140 of FIG. 1) or a memory sub-system (e.g., the memory sub-system110 of FIG. 1) for a read operation on a segment of the memorycomponent. The power level is expressed in units of mW. Similar to thewrite to read time difference axis 305, the write to read timedifference axis 505 represents an amount of time elapsed since a writeoperation was performed on a segment of a memory component until a readoperation was performed subsequently. The time is expressed in terms oflogarithms. Moreover, as with the horizontal line 330 of FIG. 3A, ahorizontal line 540 represents a power budget for a memory component ora memory sub-system. In one implementation, the power budget refers toan amount of power supplied to the memory component or the memorysub-system.

Curves 510 to 530 represent a relationship between the power level andthe write to read time difference for a memory component belongingdifferent groups. Memory components of a memory sub-system can bedivided into groups based on an amount of power required (i.e., powerconsumption characteristics) for a read operation to be performed on asegment of the respective memory component(s). For example, at a timepoint 553 (e.g., 30 hours passed since performance of a write operationuntil performance of a subsequent read operation), one or more memorycomponents that require 600 mW of power for performance of a readoperation can be in one group (and thus represented by the curve 510).Such one or more memory components can be grouped into one group. Insome embodiments, memory components requiring a range of power level(e.g., 550 mW to 650 mW) can be grouped together. As another example, attime point 553, one or more memory components that require 500 mW ofpower for performance of a read operation can be in another group andaccordingly represented by the curve 520. Yet in another example, attime point 553, one or more memory components that require 400 mW ofpower for performance of a read operation can be in another group andaccordingly represented by the curve 530. Accordingly, memory componentscan be grouped based on the amount of power they require to do a readoperation at a given write to read time period (e.g., the time period ofthe time point 553).

As depicted, the curves 510 to 530 illustrate an exponentialrelationship between the power level required for a read operation andan amount of time between performance of a write and read operation.Accordingly, the longer the time difference between performance of awrite and read operation is, the higher level of power is required toperform the read operation.

A processing device, such as the refresh operation component 113 of FIG.1, can determine a refresh period for a memory component based on therelationship represented by the curves 510 to 530. For example, theprocessing device can determine a time at time point 551 (e.g., 32hours) where the curve 510 meets the power budget line 540. The timepoint 551 can represent the maximum value for a refresh periodcorresponding to a group of memory component(s) requiring highest powerlevel for performance of a read operation—if a refresh period isperformed within any time after the time at the time point 551, therewould be not enough power to perform the refresh operation. In oneimplementation, the processing device can assign a time corresponding tothe time point 551 as the refresh period for the group. That is, theprocessing device can initiate a refresh operation at or shortly before32 hours have passed since the last write operation on a respectivesegment of the memory component.

In another implementation, the processing device can determine a timepoint (e.g., the time point 553) within a threshold amount 552 of thetime point 551. Such a threshold amount can be a relative value, such as10%, or an absolute value, such as, 2 hours. For example, the time point551 can be 32 hours and the threshold amount 552 can be 2 hours. Then,the processing device can determine another time point 553 (e.g., 30hours) based on the maximum time a refresh operation should be performed(as represented by the time point 551) and the threshold amount 552. Theprocessing device can assign a refresh period of 30 hours to the grouprequiring the most power for performance of a read operation.

Similarly, the processing device can determine a refresh period for agroup requiring a lower amount of power for performance of a readoperation based on the curve 520. For example, the processing device candetermine that a time period represented by a time point 555 (e.g., 40hours) as the refresh period. In another implementation, the processingdevice can determine a time period less than the maximum time periodrepresented by the time point 555 using the same threshold 552.Moreover, the processing device can determine a refresh period for agroup requiring the lowest amount of power for performance of a readoperation as 48 hours as represented by a time point 557 based on thecurve 530. As illustrated by the curves 510 to 530, as memory componentsrequire lower amount of power for performance of a read operation, theprocessing device sets the refresh time period to be at a longer amountof time. Therefore, based on the different refresh periods for differentgroups, the processing device can determine appropriate refresh periodfor a changed operation condition, for example, at operation 430 of FIG.4. Accordingly, the processing device can adjust a refresh period inorder to accommodate various power consumption characteristics of memorycomponents.

FIG. 6 illustrates an example machine of a computer system 600 withinwhich a set of instructions, for causing the machine to perform any oneor more of the methodologies discussed herein, can be executed. In someembodiments, the computer system 600 can correspond to a host system(e.g., the host system 120 of FIG. 1) that includes, is coupled to, orutilizes a memory sub-system (e.g., the memory sub-system 110 of FIG. 1)or can be used to perform the operations of a controller (e.g., toexecute an operating system to perform operations corresponding to therefresh operation component 113 of FIG. 1). In alternative embodiments,the machine can be connected (e.g., networked) to other machines in aLAN, an intranet, an extranet, and/or the Internet. The machine canoperate in the capacity of a server or a client machine in client-servernetwork environment, as a peer machine in a peer-to-peer (ordistributed) network environment, or as a server or a client machine ina cloud computing infrastructure or environment.

The machine can be a personal computer (PC), a tablet PC, a set-top box(STB), a Personal Digital Assistant (PDA), a cellular telephone, a webappliance, a server, a network router, a switch or bridge, or anymachine capable of executing a set of instructions (sequential orotherwise) that specify actions to be taken by that machine. Further,while a single machine is illustrated, the term “machine” shall also betaken to include any collection of machines that individually or jointlyexecute a set (or multiple sets) of instructions to perform any one ormore of the methodologies discussed herein.

The example computer system 600 includes a processing device 602, a mainmemory 604 (e.g., read-only memory (ROM), flash memory, dynamic randomaccess memory (DRAM) such as synchronous DRAM (SDRAM) or RDRAM, etc.), astatic memory 606 (e.g., flash memory, static random access memory(SRAM), etc.), and a data storage system 618, which communicate witheach other via a bus 630.

Processing device 602 represents one or more general-purpose processingdevices such as a microprocessor, a central processing unit, or thelike. More particularly, the processing device can be a complexinstruction set computing (CISC) microprocessor, reduced instruction setcomputing (RISC) microprocessor, very long instruction word (VLIW)microprocessor, or a processor implementing other instruction sets, orprocessors implementing a combination of instruction sets. Processingdevice 602 can also be one or more special-purpose processing devicessuch as an application specific integrated circuit (ASIC), a fieldprogrammable gate array (FPGA), a digital signal processor (DSP),network processor, or the like. The processing device 602 is configuredto execute instructions 626 for performing the operations and stepsdiscussed herein. The computer system 600 can further include a networkinterface device 608 to communicate over the network 620.

The data storage system 618 can include a machine-readable storagemedium 624 (also known as a computer-readable medium) on which is storedone or more sets of instructions 626 or software embodying any one ormore of the methodologies or functions described herein. Theinstructions 626 can also reside, completely or at least partially,within the main memory 604 and/or within the processing device 602during execution thereof by the computer system 600, the main memory 604and the processing device 602 also constituting machine-readable storagemedia. The machine-readable storage medium 624, data storage system 618,and/or main memory 604 can correspond to the memory sub-system 110 ofFIG. 1.

In one embodiment, the instructions 626 include instructions toimplement functionality corresponding to a refresh operation component(e.g., the refresh operation component 113 of FIG. 1). While themachine-readable storage medium 624 is shown in an example embodiment tobe a single medium, the term “machine-readable storage medium” should betaken to include a single medium or multiple media that store the one ormore sets of instructions. The term “machine-readable storage medium”shall also be taken to include any medium that is capable of storing orencoding a set of instructions for execution by the machine and thatcause the machine to perform any one or more of the methodologies of thepresent disclosure. The term “machine-readable storage medium” shallaccordingly be taken to include, but not be limited to, solid-statememories, optical media, and magnetic media.

Some portions of the preceding detailed descriptions have been presentedin terms of algorithms and symbolic representations of operations ondata bits within a computer memory. These algorithmic descriptions andrepresentations are the ways used by those skilled in the dataprocessing arts to most effectively convey the substance of their workto others skilled in the art. An algorithm is here, and generally,conceived to be a self-consistent sequence of operations leading to adesired result. The operations are those requiring physicalmanipulations of physical quantities. Usually, though not necessarily,these quantities take the form of electrical or magnetic signals capableof being stored, combined, compared, and otherwise manipulated. It hasproven convenient at times, principally for reasons of common usage, torefer to these signals as bits, values, elements, symbols, characters,terms, numbers, or the like.

It should be borne in mind, however, that all of these and similar termsare to be associated with the appropriate physical quantities and aremerely convenient labels applied to these quantities. The presentdisclosure can refer to the action and processes of a computer system,or similar electronic computing device, that manipulates and transformsdata represented as physical (electronic) quantities within the computersystem's registers and memories into other data similarly represented asphysical quantities within the computer system memories or registers orother such information storage systems.

The present disclosure also relates to an apparatus for performing theoperations herein. This apparatus can be specially constructed for theintended purposes, or it can include a general purpose computerselectively activated or reconfigured by a computer program stored inthe computer. Such a computer program can be stored in a computerreadable storage medium, such as, but not limited to, any type of diskincluding floppy disks, optical disks, CD-ROMs, and magnetic-opticaldisks, read-only memories (ROMs), random access memories (RAMs), EPROMs,EEPROMs, magnetic or optical cards, or any type of media suitable forstoring electronic instructions, each coupled to a computer system bus.

The algorithms and displays presented herein are not inherently relatedto any particular computer or other apparatus. Various general purposesystems can be used with programs in accordance with the teachingsherein, or it can prove convenient to construct a more specializedapparatus to perform the method. The structure for a variety of thesesystems will appear as set forth in the description below. In addition,the present disclosure is not described with reference to any particularprogramming language. It will be appreciated that a variety ofprogramming languages can be used to implement the teachings of thedisclosure as described herein.

The present disclosure can be provided as a computer program product, orsoftware, that can include a machine-readable medium having storedthereon instructions, which can be used to program a computer system (orother electronic devices) to perform a process according to the presentdisclosure. A machine-readable medium includes any mechanism for storinginformation in a form readable by a machine (e.g., a computer). In someembodiments, a machine-readable (e.g., computer-readable) mediumincludes a machine (e.g., a computer) readable storage medium such as aread only memory (“ROM”), random access memory (“RAM”), magnetic diskstorage media, optical storage media, flash memory components, etc.

In the foregoing specification, embodiments of the disclosure have beendescribed with reference to specific example embodiments thereof. Itwill be evident that various modifications can be made thereto withoutdeparting from the broader spirit and scope of embodiments of thedisclosure as set forth in the following claims. The specification anddrawings are, accordingly, to be regarded in an illustrative senserather than a restrictive sense.

What is claimed is:
 1. A system comprising: a memory component; and aprocessing device operatively coupled with the memory component, theprocessing device to perform operations comprising: determining that acurrent operation condition of the memory component is in a first state;detecting a change in the operation condition from the first state to asecond state; determining a range of the operation condition to whichthe second state belongs; determining a refresh period associated withthe range of the operation condition, the refresh period correspondingto a period of time between a first time when a write operation isperformed on a segment of the memory component and a second time when arefresh operation is to be performed on the segment; and performing therefresh operation on the memory component according to the refreshperiod.
 2. The system of claim 1, wherein the operation condition of thememory component includes at least one of an amount of power supplied tothe system or a temperature of the memory component.
 3. The system ofclaim 1, wherein the detecting the change in the operation conditionfrom the first state to the second state comprises: determining a firstrange of the operation condition to which the first state belongs;determining whether the second state belongs to the first range of theoperation condition; and responsive to determining that the second statedoes not belong to the first range of the operation condition,determining that the change in the operation condition is detected. 4.The system of claim 1, wherein the determining the refresh periodassociated with the memory component comprises: detecting that thechange in the operation condition corresponds to an increase in atemperature of the memory component within a temperature rangeassociated with the second state; and decreasing the refresh periodassociated with the memory component based on the second state of theoperation condition.
 5. The system of claim 1, wherein the determiningthe refresh period associated with the memory component comprises:detecting that the change in the operation condition corresponds to adecrease in a temperature of the memory component within a temperaturerange associated with the second state; and increasing the refreshperiod associated with the memory component based on the second state ofthe operation condition.
 6. The system of claim 1, wherein thedetermining the refresh period associated with the memory componentcomprises: detecting that the change in the operation conditioncorresponds to an increase in an amount of power supply to the systemwithin a power supply range associated with the second state; andincreasing the refresh period associated with the memory component basedon the second state of the operation condition.
 7. The system of claim1, wherein the determining the refresh period associated with the memorycomponent comprises: detecting that the change in the operationcondition corresponds to a decrease in an amount of power supply to thesystem within a power supply range associated with the second state; anddecreasing the refresh period associated with the memory component basedon the second state of the operation condition.
 8. The system of claim1, wherein the operations further comprise determining the currentoperation condition of the memory component on a periodic basis.
 9. Amethod comprising: determining that a current operation condition of amemory component is in a first state; detecting a change in theoperation condition from the first state to a second state; determininga range of the operation condition to which the second state belongs;determining a refresh period associated with the range of the operationcondition, the refresh period corresponding to a period of time betweena first time when a write operation is performed on a segment of thememory component and a second time when a refresh operation is to beperformed on the segment; and performing the refresh operation on thememory component according to the refresh period.
 10. The method ofclaim 9, wherein the operation condition of the memory componentincludes at least one of an amount of power supplied to the memorycomponent or a temperature of the memory component.
 11. The method ofclaim 9, wherein the detecting of the change in the operation conditionfrom the first state to the second state comprises: determining a firstrange of the operation condition to which the first state belongs;determining whether the second state belongs to the first range of theoperation condition; and responsive to determining that the second statedoes not belong to the first range of the operation condition,determining that the change in the operation condition is detected. 12.The method of claim 9, wherein the determining the refresh periodassociated with the memory component comprises: detecting that thechange in the operation condition corresponds to an increase in atemperature of the memory component within a temperature rangeassociated with the second state; and decreasing the refresh periodassociated with the memory component based on the second state of theoperation condition.
 13. The method of claim 9, wherein the determiningthe refresh period associated with the memory component comprises:detecting that the change in the operation condition corresponds to adecrease in a temperature of the memory component within a temperaturerange associated with the second state; and increasing the refreshperiod associated with the memory component based on the second state ofthe operation condition.
 14. The method of claim 9, wherein thedetermining the refresh period associated with the memory componentcomprises: detecting that the change in the operation conditioncorresponds to an increase in an amount of power supply to the memorycomponent within a power supply range associated with the second state;and increasing the refresh period associated with the memory componentbased on the second state of the operation condition.
 15. The method ofclaim 9, wherein the determining the refresh period associated with thememory component comprises: detecting that the change in the operationcondition corresponds to a decrease in an amount of power supply to thememory component within a power supply range associated with the secondstate; and decreasing the refresh period associated with the memorycomponent based on the second state of the operation condition.
 16. Themethod of claim 9, further comprising performing the determining of thecurrent operation condition of the memory component on a periodic basis.17. A system comprising: a plurality of memory components; and aprocessing device operatively coupled with the plurality of memorycomponents, the processing device to perform operations comprising:receiving a command for a write operation to store data on a segment ofa memory component of the plurality of memory components; identifyingthe memory component associated with the write operation from theplurality of memory components; determining that a current operationcondition of the memory component is in a first state; detecting achange in the operation condition from the first state to a secondstate; determining a range of the operation condition to which thesecond state belongs; determining a refresh period associated with therange of the operation condition, the refresh period corresponding to aperiod of time between a first time when the write operation isperformed on the segment of the memory component and a second time whena refresh operation is to be performed on the segment; and performingthe refresh operation on the memory component according to the refreshperiod.
 18. The system of claim 17, wherein the operation condition ofthe memory component includes at least one of an amount of powersupplied to the system or a temperature of the memory component.
 19. Thesystem of claim 17, wherein the detecting the change in the operationcondition from the first state to the second state comprises:determining a first range of the operation condition to which the firststate belongs; determining whether the second state belongs to the firstrange of the operation condition; and responsive to determining that thesecond state does not belong to the first range of the operationcondition, determining that the change in the operation condition isdetected.
 20. The system of claim 17, wherein the determining therefresh period associated with the memory component comprises: detectingthat the change in the operation condition corresponds to an increase ina temperature of the memory component within a temperature rangeassociated with the second state; and decreasing the refresh periodassociated with the memory component based on the second state of theoperation condition.